package com.yuntian.Vo.admin;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuntian.serialize.PhoneDesensitizationSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVO {
    private Integer orderId;
    private BigDecimal totalAmount;
    private String username;

    @JsonSerialize(using = PhoneDesensitizationSerializer.class)

    private String phone;
    private String userEmail;
    private String address;
    private int status;

}